package com.ibiaoke.customer.mapper;

import com.ibiaoke.customer.entity.TradeRecorder;
import com.ibiaoke.customer.entity.TradeRecorderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TradeRecorderMapper {
    long countByExample(TradeRecorderExample example);

    int deleteByExample(TradeRecorderExample example);

    int deleteByPrimaryKey(Integer tradeId);

    int insert(TradeRecorder record);

    int insertSelective(TradeRecorder record);

    List<TradeRecorder> selectByExample(TradeRecorderExample example);

    TradeRecorder selectByPrimaryKey(Integer tradeId);

    int updateByExampleSelective(@Param("record") TradeRecorder record, @Param("example") TradeRecorderExample example);

    int updateByExample(@Param("record") TradeRecorder record, @Param("example") TradeRecorderExample example);

    int updateByPrimaryKeySelective(TradeRecorder record);

    int updateByPrimaryKey(TradeRecorder record);
}